<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>商家</title>
    <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="breadcrumb"  role="navigation">
    <div class="container">
        <div class="row">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">June 19 Coffee</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav main-nav  clear navbar-right ">
                    <li><a class="navactive color_animation" href="/admin">主页</a></li>
                    <li><a class="color_animation" href="/admin/AllUsersMarks">积分总览</a></li>
                    <li><a class="color_animation" href="/logout">退出登录</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div>
    </div><!-- /.container-fluid -->
</nav>
<section class="description_content">
    <a  class="btn btn-info btn-block"
        href="/admin/AllUsersMarks"  > 瞅瞅客户
    </a>
</section>
<section class="description_content">
    <a  class="btn btn-info btn-block"
        href="/admin/weekRecord"  > 瞅瞅一周之内的操作
    </a>
</section>
<section class="description_content">
    <a  class="btn btn-info btn-block"  data-toggle="modal" data-target="#notice"  > 瞅瞅公告
    </a>
</section>

<!-- 模态框（改公告） -->
<div class="modal fade" id="notice" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    改改公告，不改也行
                </h4>
            </div>
            <div class="modal-footer">
                <!-- 模态框（改公告表单） -->
                <form class="form-horizontal" role="form" action="/admin/updateNotice" method="post">
                    <div class="form-group">
                        <label for="firstname" class="col-sm-2 control-label">公告</label>
                        <div class="col-sm-10">
                            <textarea th:text="${notice.describe}" class="form-control" id="firstname" rows="10" cols="30" name="describe">

                            </textarea>
                        </div>
                        <div>
                            上次更改时间
                        </div>
                        <div th:text="${notice.time}">

                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确认更改</button>
                        </div>
                    </div>
                </form>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
</body>
</html>